﻿//正整数
function checkRate(input)
{
    var re = /^[1-9]\d*$/;
    if (!re.test(input))
    {
        return false;
    }
    else
    {
        return true;
    }
}

function CashApply()
{
    var prefix = "ctl00_ContentPlaceHolder1_";
    var applymoney = document.getElementById(prefix + "ddlApplyMoney");
    if (applymoney.value == "0")
    {
        alert("取现金额不能为0！");
        applymoney.focus();
        return false;
    }
    return true;
}